package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_printer")
public class Printer extends Model<Printer> {

    private static final long serialVersionUID=1L;
    /**
     * id
     */
    private String id;

    private String pNum;

    private String pServer;

    private String pDescribe;

    private String pIp;

    private String pLine;

    private String pRemark;

    private String companyId;//公司id

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
